package com.haynes.meetxiaohai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.haynes.meetxiaohai.entity.ShoppingCart;

import javax.servlet.http.HttpSession;

/**
 * @Author Haynes
 * @Date 2023/3/26 15:10
 * @PackageName:com.haynes.reggie.service
 * @ClassName: ShoppingCartService
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 根据用户ID清空购物车
     * @param session 会话对象
     */
    void clean(HttpSession session);
}
